package com.dongdongshop.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdongshop.mapper.TbGoodsDescMapper;
import com.dongdongshop.seller.pojo.TbGoodsDesc;
import com.dongdongshop.seller.service.GoodsDescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Service
@Component
public class GoodsDescServiceImpl implements GoodsDescService {

    @Autowired
    private TbGoodsDescMapper goodsDescMapper;

    @Override
    public TbGoodsDesc getgoodsDescByGoodsId(Long goods) {
        return goodsDescMapper.selectByPrimaryKey(goods);
    }
}
